package com.unitedvision.service;

import java.util.List;

import com.unitedvision.core.domain.Status;
import com.unitedvision.persistence.domain.CompanyCustomerEntity;
import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.CustomerEntity;

public interface CompanyCustomerService {
	void save(CompanyCustomerEntity entity);
	void delete(CompanyCustomerEntity entity);
	void activate(CompanyCustomerEntity entity);
	void deactivate(CompanyCustomerEntity entity);
	CompanyCustomerEntity get(int id);
	CompanyCustomerEntity getByCustomerCompany(CustomerEntity customer, CompanyEntity company);
	List<CompanyCustomerEntity> getByCustomer(CustomerEntity customerEntity, Status status);
	List<CompanyCustomerEntity> getByCompany(CompanyEntity company, Status status);
	List<CompanyCustomerEntity> getAll();
	long count();
}
